<?php

namespace Library;

class Config {

	private static $_config = array(
	
		'meta' => array(
			'title' => 'OpenLuke'
		),
		
		'path' => array(
			'public' => '../public/',
			'images' => array(
				'tmp' => 'images/data/tmp/',
				'users' => 'images/data/users/'
			)
		),
	
		'db' => array(
			'driver' => 'mysql',
			'host' => 'localhost',
			'dbname' => 'openluke',
			'username' => 'root',
			'password' => ''
		),
		
		'mcrypt' => array(
			'cipher' => MCRYPT_RIJNDAEL_256,
			'mode' => MCRYPT_MODE_CFB
		),
		
		'session' => array(
			'remembrance' => array(
				'name' => 'openluke',
				'ttl' => 2592000
			),
			'name' => 'openluke'
		)
	);
	
	public static function get($key) {
		return self::$_config[ $key ];
	}
}
